package moxl.relaxng.schema.nameclasses;

import moxl.dom.QualifiedName;
import moxl.relaxng.schema.NameClass;

public class AnyNameExcept implements NameClass
{

	private final NameClass nameClass;

	public AnyNameExcept(NameClass nameClass)
    {
		this.nameClass = nameClass;
    }

	public boolean contains(QualifiedName qName)
    {
	    return !nameClass.contains(qName);
    }

}
